package com.example.accountbook;
/*
* 数据类，用于存储每个列表项的数据
* */
public class CostBean {

    private int costID;//账户id
    private int userID;//用户id
    private float money;//金额
    private String type;//账目类型
    private String title;//账目内容
    private String explain;//账目详细描述
    private String time;//时间
    private String picPath;//图片路径

    public void setCostID(int costID) {
        this.costID = costID;
    }
    public int getCostID() {
        return costID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }
    public int getUserID() {
        return userID;
    }

    public void setMoney(float money) {
        this.money = money;
    }
    public float getMoney() {
        return money;
    }

    public void setType(String type) {
        this.type = type;
    }
    public String getType() {
        return type;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getTitle() {
        return title;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }
    public String getExplain() {
        return explain;
    }

    public void setTime(String time) {
        this.time = time;
    }
    public String getTime() {
        return time;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }
    public String getPicPath() {
        return picPath;
    }
}
